// malred-vue-template-js/src/utils/vue-instance.js
/*
 * @Author Malred
 * @Date 2025-06-17 09:21:28
 * @Description 导出vue实例
 */
import {getCurrentInstance} from "vue"

export const instance = () => getCurrentInstance()
    .appContext.config.globalProperties

export const api = () => instance().$api
export const utils = () => instance().$utils